package com.fita.wechat.rao;

import java.util.Map;

import com.demo2do.core.entity.result.HttpResult;
import com.demo2do.core.http.HttpMethod;
import com.demo2do.core.http.annotation.Rao;
import com.demo2do.core.http.annotation.RaoConfig;
import com.demo2do.core.http.annotation.RaoMapping;
import com.demo2do.core.http.annotation.RaoParam;
import com.demo2do.core.http.annotation.RaoUrl;

/**
 * 
 * @author mohanlan
 *
 */
@Rao
public interface AutoLoginRao {

    /**
     * @param uri
     * @param parameters
     * @return
     */
    @RaoMapping(method = HttpMethod.POST)
    @RaoConfig(parse = true)
    public HttpResult login(@RaoUrl String uri, @RaoParam Map<String, Object> parameters);
    
}
